package com.ruoyi.aiexperiments.mapper;

import java.util.List;
import com.ruoyi.aiexperiments.domain.ExperimentTraining;

/**
 * 实验训练记录Mapper接口
 * 
 * @author czj
 * @date 2025-01-06
 */
public interface ExperimentTrainingMapper 
{
    /**
     * 查询实验训练记录
     * 
     * @param trainingId 实验训练记录主键
     * @return 实验训练记录
     */
    public ExperimentTraining selectExperimentTrainingByTrainingId(Long trainingId);

    /**
     * 查询实验训练记录列表
     * 
     * @param experimentTraining 实验训练记录
     * @return 实验训练记录集合
     */
    public List<ExperimentTraining> selectExperimentTrainingList(ExperimentTraining experimentTraining);

    /**
     * 新增实验训练记录
     * 
     * @param experimentTraining 实验训练记录
     * @return 结果
     */
    public int insertExperimentTraining(ExperimentTraining experimentTraining);

    /**
     * 修改实验训练记录
     * 
     * @param experimentTraining 实验训练记录
     * @return 结果
     */
    public int updateExperimentTraining(ExperimentTraining experimentTraining);

    /**
     * 删除实验训练记录
     * 
     * @param trainingId 实验训练记录主键
     * @return 结果
     */
    public int deleteExperimentTrainingByTrainingId(Long trainingId);

    /**
     * 批量删除实验训练记录
     * 
     * @param trainingIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExperimentTrainingByTrainingIds(Long[] trainingIds);
}
